package com.example.demo.service.Impl;

import com.example.demo.dao.IRoleDao;
import com.example.demo.enity.Role;
import com.example.demo.service.IRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@SuppressWarnings({"all"})
@Service
public class RoleServiceImpl implements IRoleService {

    @Autowired
    private IRoleDao roleDao;

    @Override
    public Role findById(Integer id) {
        return roleDao.findById(id);
    }
}
